#include <stdio.h>

int main()
{
	int input = 0;
	int left = 0;
	int right = 0;
	int ret = 0;
	char operator = 0;
	scanf("%d", &input);
	switch (input)
	{
	case 1:
		scanf("%d %c %d", &left, &operator, &right);
		ret = left + right;
		break;
	case 2:
		scanf("%d %c %d", &left, &operator, &right);
		ret = left - right;
		break;
	case 3:
		ret = left * right;
		break;
	}
	printf("ret = %d\n", ret);
	

	return 0;
}
